<%- include header.html -%>
<link rel="stylesheet" href="/css/admin/boutique_edit.css">
<form class="form-horizontal" role="form">
    <ol class="breadcrumb">
        <li><a href="#">专题栏</a></li>
        <li class="active">编辑</li>
    </ol>
    <div class="pull-right" role="group" aria-label="...">
        <a href="" class="btn btn-success">返回</a>
        <input type="submit" class="btn btn-primary" value="提交">
    </div>
    <div class="clearfix"></div>
    <div class="form">
        <div class="form-group imgpreview">
            <label for="up_img" class="control-label col-sm-1">图片</label>
            <div id="imgdiv" class="">
                <img style="height: 168px;width: 320px" id="imgShow" src=""/>
            </div>
            <div class="clearfix"></div>
            <div class="filebtn">
                <button type="button" class="btn btn-primary">上传图片</button>
                <input type="file" id="up_img" name="file_name">
            </div>
        </div>
        <div class="form-group">
            <label for="slide-name" class="control-label col-sm-1">名称</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="slide-name" placeholder="请输入名称" required>
            </div>
        </div>
        <!--专题栏目-->
        <div class="form-group zhuantilanmu">
            <label for="slide-zhuantiID" class="control-label col-sm-1">栏目ID</label>
            <div class="col-sm-4">
                <input readonly type="text" class="form-control" id="slide-zhuantiID" placeholder="请选择栏目ID">
            </div>
            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#zhuantilanmuModal">选择专题栏目</button>
        </div>
        <!--、、专题栏目-->
        <div class="form-group">
            <label for="slide-info" class="control-label col-sm-1">备注</label>
            <div class="col-sm-6">
                <textarea class="form-control" id="slide-info" placeholder="请输入备注"></textarea>
            </div>
        </div>
    </div>
</form>
<!--图片上传js-->
<script src="/js/ext/uploadPreview.js"></script>
<script type="text/javascript">
    new uploadPreview({UpBtn: "up_img", DivShow: "imgdiv", ImgShow: "imgShow"});
</script>
<!--、、图片上传js-->
<%- include footer.html -%>